package org.speed.mes.base.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.speed.mes.base.domain.BsMaterialType;

import java.io.Serial;
import java.io.Serializable;


/**
 * 物料类型视图对象 bs_material_type
 *
 * @author Lion Li
 * @date 2024-06-13
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BsMaterialType.class)
public class BsMaterialTypeVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 物料类型id
     */
    @ExcelProperty(value = "物料类型id")
    private Long id;

    /**
     * 物料类型编码
     */
    @ExcelProperty(value = "物料类型编码")
    private String code;

    /**
     * 物料类型名称
     */
    @ExcelProperty(value = "物料类型名称")
    private String name;

    /**
     * 父类型id
     */
    @ExcelProperty(value = "父类型id")
    private Long parentId;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Long sort;

    /**
     * 是否启用 0停用 1启用
     */
    @ExcelProperty(value = "是否启用 0停用 1启用")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
